/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kallsonys.object;

/**
 *
 * @author allan
 */
public class Customer 
{
    private long   id;
    private String firstName;
    private String lastName;
    private String email;
    private String password;
    private int    type;
    
    private Long idLastUsedCreditCard;
    private Long idLastUsedAddress;

    public Long getIdLastUsedAddress() {
        return idLastUsedAddress;
    }

    public void setIdLastUsedAddress(Long idLastUsedAddress) {
        this.idLastUsedAddress = idLastUsedAddress;
    }

    public Long getIdLastUsedCreditCard() {
        return idLastUsedCreditCard;
    }

    public void setIdLastUsedCreditCard(Long idLastUsedCreditCard) {
        this.idLastUsedCreditCard = idLastUsedCreditCard;
    }
    
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
/*
   "CUSTOMERID", 
            "CUSTOMERFIRSTNAME", 
            "CUSTOMERLASTNAME", 
            "CUSTOMEREMAIL", 
            "CUSTOMERPASSWORD", 
            "CUSTOMERTYPE")
 * 
 *  CUSTOMER_FIRSTNAME IN VARCHAR2,
        CUSTOMER_LASTNAME IN VARCHAR2, 
        CUSTOMER_EMAIL IN VARCHAR2, 
        CUSTOMER_PASSWORD IN VARCHAR2, 
        CUSTOMER_TYPE IN NUMBER, 
    	CUSTOMER_ID OUT NUMBER)
 */